export const adminRouter = [{
        name: "DormitorybuilMan",
        path: "/home/DormitorybuilMan",
        component: () => import("@/views/DormitorybuilMan/Admin/index.vue")
    },
    {
        name: "FloorMan",
        path: "/home/FloorMan",
        component: () => import("@/views/FloorMan/Admin/index.vue")
    }
]




export const supersRouter = [{
        name: "DormitorybuilMan",
        path: "/home/DormitorybuilMan",
        component: () => import("@/views/DormitorybuilMan/Super/index.vue")
    },
    {
        name: "AdminMan",
        path: "/home/adminMan",
        component: () => import("@/views/AdminMan/index.vue")
    },
    {
        name: "FloorMan",
        path: "/home/FloorMan",
        component: () => import("@/views/FloorMan/Super/index.vue")
    },
    {
        name:"CheckInRecord",
        path:"/home/CheckInRecord",
        component: () => import("@/views/CheckInRecord/index.vue")
    },
    {
        name: "AllocateDormitories",
        path:"/home/AllocateDormitories",
        component: () => import("@/views/AllocateDormitories/index.vue")
    }
]







export const shareRouter = [{
        name: "login",
        path: "/",
        component: () => import("@/views/Login/index.vue")
    },
    {
        name: "home",
        path: "/home",
        component: () => import("@/views/Home/index.vue"),
        redirect: "/home/overview",
        children: [{
            name: "overview",
            path: "/home/overview",
            component: () => import("@/views/Overview/index.vue")
        },{
            name: "RoomMan",
            path: "/home/RoomMan",
            component: () => import("@/views/RoomMan/index.vue")
        },{
            name: "StudentMan",
            path: "/home/StudentMan",
            component: () => import("@/views/StudentMan/index.vue")
        },{
            name:"getUp",
            path:"/home/getUp",
            component: () => import("@/views/RecordViewing/getUp/index.vue")
        },{
            name:"endResult",
            path:"/home/endResult",
            component: () => import("@/views/RecordViewing/endResult/index.vue")
        },{
            name:"clean",
            path:"/home/clean",
            component: () => import("@/views/RecordViewing/clean/index.vue")
        },{
            name:"PersonalCenter",
            path:"/home/Personal",
            component: () => import("@/views/PersonalCenter/index.vue")
        },{
            name:"ChangePwd",
            path:"/home/ChangePwd",
            component: () => import("@/views/ChangePwd/index.vue")
        },{
            name:"ModifyAvatar",
            path:"/home/ModifyAvatar",
            component: () => import("@/views/ModifyAvatar/index.vue")
        },{
            name: "RepairReport",
            path: "/home/RepairReport",
            component: () => import("@/views/RepairReport/index.vue")
        },{
            name:"MainRecords",
            path:"/home/MainRecords",
            component: () => import("@/views/MainRecords/index.vue")
        }]
    }
]